package com.example.g7640.enums;

import lombok.Getter;

@Getter
public enum OrderStatusEnum {


    created(0,"created","已创建"),

    expressing(1,"expressing","运输中"),

    finished(2,"finished","已完成"),

    canceled(3,"canceled","已取消"),
    deleted(-1,"deleted","删除"),

    ;

    private Integer index;

    private String code;

    private String desc;

    OrderStatusEnum(Integer index,String code,String desc){
        this.index = index;
        this.code = code;
        this.desc = desc;
    }

}
